import request from '@/utils/request'

// 查询我关注房屋信息列表
export function listAHousingFollow(query) {
  return request({
    url: '/system/aHousingFollow/list',
    method: 'get',
    params: query
  })
}

// 查询我关注房屋信息详细
export function getAHousingFollow(id) {
  return request({
    url: '/system/aHousingFollow/' + id,
    method: 'get'
  })
}

// 新增我关注房屋信息
export function addAHousingFollow(data) {
  return request({
    url: '/system/aHousingFollow',
    method: 'post',
    data: data
  })
}

// 修改我关注房屋信息
export function updateAHousingFollow(data) {
  return request({
    url: '/system/aHousingFollow',
    method: 'put',
    data: data
  })
}

// 删除我关注房屋信息
export function delAHousingFollow(id) {
  return request({
    url: '/system/aHousingFollow/' + id,
    method: 'delete'
  })
}

// 逻辑删除我关注房屋信息
export function logicDelAHousingFollow(id) {
  return request({
    url: '/system/aHousingFollow/logicDel/' + id,
    method: 'delete'
  })
}
